<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
	<th:block th:include="include/include :: header('消息管理')" />
	<th:block th:include="include/include :: layout-latest-css" />
	<th:block th:include="include/include :: ztree-css" />
</head>
<body class="gray-bg">
    <div class="container-div">
		<div class="row">
			<div class="col-sm-12 search-collapse">
				<form id="menu-form">
					<div class="select-list">
						<ul>
							<li>
								消息标题：<input type="text" name="name"/>
							</li>
							<li>
								消息类型：<select name="type">
									<option value="">所有</option>
									<option value="1">通知</option>
									<option value="2">公告</option>
								</select>
							</li>
							<li>
								<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
								<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
							</li>
						</ul>
					</div>
				</form>
			</div>
                
            <div class="btn-group-sm" id="toolbar" role="group">
		        <a class="btn btn-success" onclick="$.operate.add()" sec:authorize="hasAuthority('msg_add')">
                    <i class="fa fa-plus"></i> 新增
                </a>
                 <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" sec:authorize="hasAuthority('msg_del')">
		                <i class="fa fa-remove"></i> 删除
		            </a>
	        </div>
       		 <div class="col-sm-12 select-table table-striped">
	            <table id="bootstrap-table"></table>
	        </div>
	    </div>
	</div>
	
		<th:block th:include="include/include :: footer" />
	<th:block th:include="include/include :: layout-latest-js" />
	<th:block th:include="include/include :: ztree-js" />
	<script th:inline="javascript">
		var addtFlag = [[${@permission.hasPermi('msg_add')}]];
		var editFlag = [[${@permission.hasPermi('msg_edit')}]];
		var deleteFlag = [[${@permission.hasPermi('msg_del')}]];
	</script>
	<script th:src="@{/pages/sysadm/message/msgList.js}"></script>
</body>
</html>